package com.ocom.mqsimple.feign;

import com.ocom.common.constant.ExposeApiUrl;
import com.ocom.common.constant.HumanServiceUrl;
import com.ocom.common.constant.WxServiceUrl;
import com.ocom.common.dto.Department;
import com.ocom.common.dto.GetMngUserFormDto;
import com.ocom.common.request.human.UpdateUserFaceVo;
import com.ocom.common.request.simple.ccbzhsh.CCBZHSHNewPersonInfoRequest;
import com.ocom.common.request.simple.ssgl.SSGLAccessRecordRequest;
import com.ocom.common.request.simple.ssgl.SSGLAttendanceRecordRequest;
import com.ocom.common.request.simple.ssgl.SSGLNewPersonInfoRequest;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.PersonVo;
import com.ocom.common.vo.human.UserListVo;
import com.ocom.common.vo.webapi.ExcelAddPersonVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;


@FeignClient(value = "exposeapi")
public interface ExposeClientService {

    /**宿管协议-推送人员信息*/
    @PostMapping(ExposeApiUrl.URL_ExposeApi_SsglNewPersonInfo)
    public Result ssglNewPersonInfo(@RequestBody SSGLNewPersonInfoRequest request);

    @PostMapping(ExposeApiUrl.URL_ExposeApi_wgkqNewPersonInfo)
    public Result wgkqNewPersonInfo(@RequestBody SSGLNewPersonInfoRequest request);

    @PostMapping(ExposeApiUrl.URL_ExposeApi_ocomkqNewPersonInfo)
    public Result ocomKqNewPersonInfo(@RequestBody SSGLNewPersonInfoRequest request);

    @PostMapping(ExposeApiUrl.URL_ExposeApi_ocomkqAttendanceRecord)
    public Result attendanceRecord(@RequestBody SSGLAttendanceRecordRequest request);

    @PostMapping(ExposeApiUrl.URL_ExposeApi_SsglAccessRecord)
    public Result ssglAccessRecord(@RequestBody SSGLAccessRecordRequest request);

    @PostMapping(ExposeApiUrl.URL_ExposeApi_CCBZHSHNewPersonInfo)
    Result ccbZHSHNewPersonInfo(@RequestBody CCBZHSHNewPersonInfoRequest request);

    @PostMapping(ExposeApiUrl.URL_ExposeApi_kcmzctConsumeRecord)
    public Result consumeRecord(@RequestParam Long comId, @RequestParam String tradeNo);

    @PostMapping(ExposeApiUrl.URL_ExposeApi_UnicomConsEvent)
    public Result unicomConsEvent(@RequestParam Long comId, @RequestParam String tradeNo);
}


